<template>
    <div class="i-tip">
        {{ data.title }}
        <span class="tip">
            <el-radio v-model="data.radio" label="1">男</el-radio>
            <el-radio v-model="data.radio" label="2">女</el-radio>
        </span>
    </div>
</template>

<script setup>
import { reactive } from "vue";
let data = reactive({
    title: "第二个模板",
    radio: '1'
})
</script>
<style scoped>
    .tip{
        margin-left: 10px;
    }
</style>
